show mpls ldp label retained

show mpls ldp label retained [l2vpn {ipaddress} | lsp {ipNetmask}]

Description

Displays liberally-retained labels received from a peer for either the Layer 2 VPN protocol or LSP protocol.

Syntax Description

ipaddress Specifies an IP address.
ipNetmask Specifies an IP network mask.

Default

N/A.

Usage Guidelines

If no options are specified, tabular information for all liberally-retained labels is displayed. The following table describes the display fields that appear when this command is entered.

Table 1. show mpls label retained Field Definitions
Field Definition
Advertised Label Advertised Label is the label advertised to other routers.
Destination Mapping Destination Mapping displays the destination IP address and mask.
LSP Flags LSP Flags lists the flags for each label, which are described in the key at the bottom of the display.
Peer Label The peer label that replaces the received label of incoming packets during a label swap on a transit LSP. The peer label appears only for transit LSPs.
NHop Type

NHop Type helps define the handling of a packet arriving with the specified advertised label. Possible values are:

IP—The label on the packet is swapped and the packet forwarded to the IP address shown in the NextHop field.locl—Indicates that the tunnel destination is local to this switch.VLAN—The label on the packet is stripped and is IP routed according to the Destination Mapping field.VPLS—The label on the packet is stripped and forwarded according to the service configuration of the VPLS specified in the Name field.

Next Hop Displays an interface ID for the next hop router, which can be a VLAN name, VMAN name, or IP address.
Name Displays a VPLS or LSP name.
Received Label Received Label displays the label received from other routers.

Example

The following command displays liberally-retained LSP labels received from peers:

# show mpls ldp label retained lsp
                   Peer            Peer       Next
Prefix             LSR ID          Label      Hop             VLAN
------------------------------------------------------------------------------------
30.30.30.0/24      3.3.3.3         0x00435    30.30.30.2      r1-r3
2.2.2.2/32         3.3.3.3         0x00439    30.30.30.2      r1-r3
22.22.22.22/32     3.3.3.3         0x0043a    30.30.30.2      r1-r3
10.10.10.0/24      22.22.22.22     0x00434    10.10.10.2      r1-r2
30.30.30.0/24      22.22.22.22     0x00438    10.10.10.2      r1-r2
1.1.1.1/32         22.22.22.22     0x00439    10.10.10.2      r1-r2
3.3.3.3/32         22.22.22.22     0x0043a    10.10.10.2      r1-r2

History

This command was first available in ExtremeXOS 12.5.

Peer LSR information added in ExtremeXOS 22.5.

Platform Availability

This command is available only on the platforms that support MPLS as described in the Switch Engine v33.1.1 Licensing Guide document.